#ifndef __EXCEPTIONS_H__
#define __EXCEPTIONS_H__

#include <exception>

namespace Audio
{
#pragma region AudioPlayerInitException

	class AudioPlayerInitException : public std::exception
	{
	public:
		AudioPlayerInitException(long res) : std::exception("Audio player initialization failed."), hres(res) 
		{
		
		}

		// Data
		long hres;
	};

#pragma endregion

#pragma region AudioPlayerPlayException

	class AudioPlayerPlayException : public std::exception
	{
	public:

		AudioPlayerPlayException(long res) : std::exception("Cannot play file"), hres(res)
		{
		
		}
		
		long hres;
	};

#pragma endregion
}

#endif